package cn.yunhe.ssm.action;

import java.util.List;

import org.apache.struts2.ServletActionContext;
import org.springframework.beans.factory.annotation.Autowired;

import cn.yunhe.ssm.entity.Smoke;
import cn.yunhe.ssm.service.ISmokeService;
public class SmokeAction{
	
	@Autowired
	private ISmokeService smokeService;

	public String getSmokePage(){
		List<Smoke> slist = smokeService.getListTypeSmoke();
		ServletActionContext.getRequest().setAttribute("slist", slist);
		return "success";
	}
}
